﻿using System;
using Model.Base;
namespace Model.AuthModel
{
    /// <summary>
    /// 通用组件，权限模型，模型层，登录记录
    /// </summary>
    public class StaffLoginInfo : BaseInfo
    {
        /// <summary>
        /// 登录编号
        /// </summary>
        public int LoginID { get; set; }

        /// <summary>
        /// 管理员对象
        /// </summary>
        public StaffInfo Staff { get; set; }

        /// <summary>
        /// 登录的ip地址
        /// </summary>
        public string IP { get; set; }
    }
    /// <summary>
    /// 通用组件，权限模型，模型层，登录记录搜索条件
    /// </summary>
    public class StaffLoginCondition : BaseCondition
    {
        public int StaffID { get; set; }
    }
}
